﻿using Common.BaseLibrary.Domain;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DepartmentWork.Migrator.Data
{
    /// <summary>
    /// 文档表
    /// </summary>
    public class PROJECT_MAINTENANCE_DOCUMENT : IEntity
    {

        /// <summary>
        /// 创建人
        /// </summary>
        [DisplayName("创建人"), Required]
        public string DOCUMENT_FOUNDER { get; set; }

        /// <summary>
        /// 文档ID
        /// </summary>
        [DisplayName("文档ID"), Required, Key]
        public Guid DOCUMENT_ID { get; set; }

        /// <summary>
        /// 项目ID
        /// </summary>
         [DisplayName("项目ID"), Required]
        public Guid DOCUMENT_OPERATION_ID { get; set; }



        /// <summary>
        /// 创建时间
        /// </summary>
        [DisplayName("创建时间"), Required]
        public DateTime DOCUMENT_DATETIME { get; set; }


        /// <summary>
        /// 附件（路径）
        /// </summary>
        [DisplayName("附件")]
        public string RECORD_ACCESSORY { get; set; }


        /// <summary>
        /// 文档描述
        /// </summary>
        [DisplayName("文档描述")]
        public string DOCUMENT_DESCRIBE { get; set; }



    }
}
